package ooExercise.ooday02;

public class Cat extends Animal {
    Cat(String name, String color, int age, String food) {
        super(name, color, age, food);
    }

    void run() {
        System.out.println("一只" + age + "岁的猫猫,名叫" + name + "正在操场被人撸并给它吃猫粮");
    }

    void Catchmouse() {
        System.out.println("有一只" + color + "颜色的," + age + ",岁的，名字叫" + name + "的猫猫在抓老鼠");
    }

    void eat() {
        System.out.println(color + "颜色的," + age + "岁的，名叫" + name + "的猫猫，正在吃" + food + ",吃完后又在刨猫砂");
    }
}
